package com.xianniu.ltc.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xianniu.ltc.model.entity.TYingjicaigoudingdanDTO;
import org.apache.ibatis.annotations.Mapper;

import java.math.BigDecimal;
import java.util.List;

/**
 * @author WangRuiJie
 * @Title: TYingjicaigoudingdanMapper
 * @Package com.xianniu.ltc.mapper
 * @Description:
 * @date 2021/9/22:57 下午
 */
@Mapper
public interface TYingjicaigoudingdanMapper extends BaseMapper<TYingjicaigoudingdanDTO> {

    int updateByCaiGouDan(String caiGouDan, BigDecimal refundAmount, BigDecimal haveARefund, String tenantCode);

    List<TYingjicaigoudingdanDTO> selectListByCode(String caiGouDan, String tenantCode);
}
